﻿using System.Net.Mail;

namespace mesan.core.Repository
{
	public class PasswordRequester : IPasswordRequester
	{
		public void RequestByEmail(string email)
		{
			var mail = new MailMessage();

			mail.From = new MailAddress("info@mesan.no");
			mail.Subject = "Reset passord til din Mesan dingsboms!";

			mail.Body = "bblablbalbal";
			mail.To.Add(new MailAddress(email));

			var client = new SmtpClient();

			client.Send(mail);
		}
	}
}
